package com.tanhua.dubbo.server.api;

import com.tanhua.dubbo.server.pojo.UserLike;
import com.tanhua.dubbo.server.vo.PageInfo;

import java.util.List;

/**
 * * @title: UserLikeApi
 *
 * @Author Philcan
 * @Date: 2021/8/18 18:38
 * @Version 1.0
 */
public interface UserLikeApi {
    Boolean likeUser(Long userId, Long likeUserId);

    Boolean notLikeUser(Long userId, Long likeUserId);

    Boolean isMutualLike(Long userId, Long likeUserId);

    List<Long> queryLikeList(Long userId);

    List<Long> queryNotLikeList(Long userId);

    Long queryMutualLikeCount(Long userId);

    Long queryLikeCount(Long userId);

    Long queryFanCount(Long userId);

    PageInfo<UserLike> queryMutualLikeList(Long userId, Integer page, Integer pageSize);

    PageInfo<UserLike> queryLikeList(Long userId, Integer page, Integer pageSize);

    PageInfo<UserLike> queryFanList(Long userId, Integer page, Integer pageSize);
}
